<?php
class  Model_Actualite implements Model_IEntity
{
	//field id_actualite
	private $_id_actualite = null;
	public function setId_actualite($value)
	{
		$this->_id_actualite = $value;
	}

	public function getId_actualite()
	{
		return $this->_id_actualite;
	}

	//field titre
	private $_titre = null;
	public function setTitre($value)
	{
		$this->_titre = htmlremove($value);
	}

	public function getTitre()
	{
		return $this->_titre;
	}
	
	//field image
	private $_image = null;
	public function setImage($value)
	{
		$this->_image = htmlremove($value);
	}
	
	public function getImage()
	{
		return $this->_image;
	}

	//field contenu
	private $_contenu = null;
	public function setContenu($value)
	{
		$this->_contenu = htmlfilter($value, array('script', 'iframe'));
	}

	public function getContenu()
	{
		return $this->_contenu;
	}

	//field tags
	private $_tags = null;
	public function setTags($value)
	{
		$this->_tags = htmlremove($value);
	}

	public function getTags()
	{
		return $this->_tags;
	}

	//field date_creation
	private $_date_creation = null;
	public function setDate_creation($value)
	{
		$this->_date_creation = new DateTime($value);
	}

	public function getDate_creation()
	{
		return $this->_date_creation;
	}

	//field date_modification
	private $_date_modification = null;
	public function setDate_modification($value)
	{
		$this->_date_modification = new DateTime($value);
	}

	public function getDate_modification()
	{
		return $this->_date_modification;
	}

	//field publie
	private $_publie = null;
	public function setPublie($value)
	{
		$this->_publie = $value;
	}

	public function getPublie()
	{
		return $this->_publie;
	}

	//field association
	private $association = null;
	public function setAssociation(Model_Association $value)
	{
		$this->association = $value;
	}

	public function getAssociation()
	{
		return $this->association;
	}

	//field evenement
	private $evenement = null;
	public function setEvenement(Model_Evenement $value)
	{
		$this->evenement = $value;
	}

	public function getEvenement()
	{
		return $this->evenement;
	}

	//field commune
	private $commune = null;
	public function setCommune(Model_Commune $value)
	{
		$this->commune = $value;
	}

	public function getCommune()
	{
		return $this->commune;
	}

	public function __toString()
	{
		return 'Model_IEntity';
	}

}
